@charset "UTF-8";
p,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
legend,
input,
select,
textarea,
button,
th,
td,
menu {
  margin: 0;
  padding: 0; }

* {
  box-sizing: border-box; }

ul,
dl,
ol {
  list-style: none; }

img,
fieldset,
input[type="submit"] {
  border: 0 none; }

em {
  font-style: normal; }

strong {
  font-weight: normal; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

button,
input[type="button"] {
  cursor: pointer;
  border: 0 none; }

a,
button,
input,
img {
  -webkit-touch-callout: none; }

img {
  /*pointer-events:none;*/
  /*禁止图片的点击事件，例如长按保存图片*/ }

input,
select,
textarea {
  outline: none; }

a {
  text-decoration: none; }

.fl {
  float: left; }

.fr {
  float: right; }

.clear {
  clear: both; }

.clear_fix::after {
  content: "";
  display: block;
  clear: both; }

html,
body {
  /*禁止用户选择元素*/
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  /*禁止元素点击出现半透明黑色背景*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

html {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  outline: 0;
  -webkit-text-size-adjust: none; }

* {
  margin: 0;
  padding: 0; }

.box {
  margin: 50px auto 0 auto;
  width: 400px;
  height: auto;
  border: solid 1px #222;
  overflow: hidden; }

.main {
  width: 400px;
  height: 600px;
  position: relative;
  top: -150px; }

.row {
  position: absolute;
  width: 400px;
  height: 150px; }

.row div {
  width: 99px;
  height: 149px;
  border: solid 1px #222;
  float: left;
  border-top-width: 0;
  border-left-width: 0;
  cursor: pointer; }

.black {
  background: black; }

.active {
  background: #ebebeb; }

.button {
  width: 400px;
  height: 400px;
  position: absolute;
  left: 50%;
  top: 20%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
  background: skyblue;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 15px; }
  .button .btn {
    width: 150px;
    height: 150px;
    background: #ed4141;
    border-radius: 10px;
    text-align: center;
    line-height: 150px;
    color: white;
    font-size: 30px; }
    .button .btn:active {
      background: #c02c2c; }

.score {
  width: 150px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background: skyblue;
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0); }
